package com.dragon.graduation.roleMenu.service;

import com.dragon.graduation.menu.entity.MenuEntity;
import com.dragon.graduation.roleMenu.entity.RoleMenuEntity;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 * 角色菜单表 服务类
 * </p>
 *
 * @author dragon
 * @since 2025-02-28 21:21:44
 */
public interface RoleMenuService extends IService<RoleMenuEntity> {

    List<MenuEntity> getMenuByRole(Integer roleId);

    void removeByRoleId(Integer roleId);

    List<Integer> getMenuIdByRole(Integer roleId);
}
